index join
The index join node is used to access column data where the column is referred to in the query but does not have a covering index.
Detailed Descriptionβ
The index join
node is used to access column data where the column is referred to in the query but does not have a covering index.
For example a table has three columns, colA, colB and colC with a primary key on colA and colB.
SELECT colC FROM table WHERE colA = 10 and colB = 1;
Because the unindexed column is being retrieved, a lookup on the primary key is required to access the value in colC. This lookup is called an index join
and can be costly. Using a STORING clause for colC on the index can ensure the index βcoversβ all the data queried and make the additional index lookup unnecessary.
Additional Linksβ
Search onlineβ
If this article doesn't have the information you need you can try searching online. Remember, you can contribute suggestions to this page.